package Entities;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.Column;
import java.awt.*;

/**
 * Created by IntelliJ IDEA.
 * User: mchebanenko
 * Date: 4-Jan-2011
 * Time: 4:23:27 PM
 * To change this template use File | Settings | File Templates.
 */

@Entity
@Table(name="ROOM")
public class RoomEntity {

    public RoomEntity() {}

    @Id
    @Column(name="ROOM_ID")
    private Integer room_id;
    @Column(name="PLACES")
    private Integer places;
    @Column(name="ROOMS_QTY")
    private Integer rooms_Qty;
    @Column(name="STYLE_ID")
    private Integer style_id;


    public Integer getRoom_id() {
        return room_id;
    }

    public void setRoom_id(Integer room_id) {
        this.room_id = room_id;
    }

    public Integer getPlaces() {
        return places;
    }

    public void setPlaces(Integer places) {
        this.places = places;
    }

    public Integer getRooms_Qty() {
        return rooms_Qty;
    }

    public void setRooms_Qty(Integer rooms_Qty) {
        this.rooms_Qty = rooms_Qty;
    }

    public Integer getStyle_id() {
        return style_id;
    }

    public void setStyle_id(Integer style_id) {
        this.style_id = style_id;
    }
}
